package com.chang.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: erp-api
 * @description:
 * @author: chang
 * @create: 2025-02-28 10h
 **/
@Data
@ApiModel("登录Bean")
public class LoginBean {
    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "用户名不能为空！")
    String account;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空！")
    String password;
}
